texeport: JSON export formats

Comprehensive PDF documentation about Texpress can be found here.

Details about exporting, and texeport specifically, can be found here.

The Texpress texforms module supports a general purpose data exporting facility. Five predefined export formats were supported by its texeport program prior to EMu 10:

  • Comma delimited
  • Fixed width
  • Ids
  • Ids (brief)
  • Texpress data

From EMu 10 and Texpress 11.0.015 onwards support for JSON as an export format is also available. The -f option, which specifies the output format, supports the following JSON formats:

Format

Details

json

Produces a simple JSON output format with only the top level item names. The names used are the texforms format (that is without _tab, etc.). A JSON value is output for all items in the database, even empty ones.

jsonbrief

As for json format except empty items are skipped.

jsonql

Produces JSON consistent with texql and its describe format. At each level the column name is given. Hence for tables each inner array contains an object with the inner column name. A JSON value is output for all items in the database, even empty ones.

jsonqlbrief

As for jsonql format except empty items are skipped.